<template>
  <div align="center">
    <el-result icon="success" title="修改成功" subTitle="點擊按鈕返回">
      <template slot="extra">
        <el-button type="primary" size="medium" @click="updatePass">返回</el-button>
      </template>
    </el-result>
  </div>
</template>

<script>
import router from "@/router";


export default {
  name: "Success",
  methods:{
    updatePass(){
      router.push("UserCenter")
    }


  }
}
</script>

<style scoped>

</style>